﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MongoDB.Driver.Builders;

namespace MongoScienceDAL.Core.Tests
{
    [TestClass]
    public class QueryFilterTests
    {
        [TestMethod]
        public void CreateQueryCriteriaInitialisesFilterDictonary()
        {
            var queryCriteria = new QueryCriteria();

            Assert.IsNotNull(queryCriteria.Filters);
        }

        [TestMethod]
        public void CreateQueryFilterIntialisesDataDictionary()
        {
            var queryFilter = new QueryFilter();

            Assert.IsNotNull(queryFilter.Data);
        }
    }
}
